package com.boarsoft.boar.gateway.weixin.common;

import java.util.HashMap;
import java.util.Map;

public class WeixinFactory {
	
	private static Map<String, WeixinPlatformUser> weixinPlatformUserCache = new HashMap<String, WeixinPlatformUser>();
	
	public static WeixinPlatformUser getWeixinPlatformUser(String fakeId){
		return (WeixinPlatformUser)weixinPlatformUserCache.get(fakeId);
	}
	
	public static void petWeixinPlatformUser(String fakeId, WeixinPlatformUser platformUser){
		weixinPlatformUserCache.put(fakeId, platformUser);
	}
}
